package yunwo.cn.yzstation.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lao on 2017/10/13.
 */

public class CarOBJBean implements Serializable {

    /**
     * code : 200
     * data : [{"organName":"长运柯莱","id":"03d9d3ed290342a885a98a38cec5078e"},{"organName":"太仓","id":"08aebd3cd71940e2ae0bbd2d1ba5a486"},{"organName":"长运南联","id":"0da0bdc6f9b84545bde34f0fe936bf1b"},{"organName":"南京","id":"162949ed6cbf4b118dd6e8d19b09c4f1"},{"organName":"利泰","id":"2c030740c0d5493b9bdc0cc81073e94d"},{"organName":"无锡","id":"2c98c442366a4f25ac8977a2de577e43"},{"organName":"柯桥网点","id":"3520b3c664134be4b2752018feb74e0e"},{"organName":"长运五和舜","id":"3d06e9f3f8a2429ab098e7622f4956f5"},{"organName":"城隍庙网点","id":"3e662df1c3ee4199a1f749c80359caa4"},{"organName":"青浦","id":"508672a723c04b7a9a0d6d16e4a67454"},{"organName":"宁波","id":"7c39e9a07ff84e218bac41d5b60c9fca"},{"organName":"七浦路","id":"820ecb7ad3db4d1991000f6ad4b19e4c"},{"organName":"长运超大","id":"95a25fd38fa140de80904806a522709e"},{"organName":"卜院","id":"a8bb507788be41ff92d2ff972484aea7"},{"organName":"义乌","id":"c787a33c46364f659a8a21c267e72888"},{"organName":"杭州","id":"d645195c4fb54a7e9f78e2826cc6983a"},{"organName":"长运铁马","id":"ec60e6c914e74890b26fa94f13697c75"},{"organName":"绍兴","id":"f696f01d1a584337aa6bc3693192fd6c"},{"organName":"常熟","id":"f71e49becc98422bafad733e0cf5b5e2"},{"organName":"富阳","id":"fafb0662cd424ff09e11080dae6559d9"},{"organName":"长运中铁","id":"ff80070ff343424fb6dc2c5e82a67ce8"}]
     * msg : SUCCESS
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * organName : 长运柯莱
         * id : 03d9d3ed290342a885a98a38cec5078e
         */

        private String organName;
        private String id;

        public String getOrganName() {
            return organName;
        }

        public void setOrganName(String organName) {
            this.organName = organName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        @Override
        public boolean equals(Object obj) {
            if (obj instanceof CarOBJBean.DataBean) {
                DataBean obj1 = (DataBean) obj;
                return this.organName.equals(obj1.organName)
                        && this.id.equals(obj1.id);
            }
            return super.equals(obj);
        }

    }
}
